package com.onesports.intelligent.k12.polarlight.domain.dto.cls;

import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotEmpty;
import java.util.List;

/**
 * 退出班级DTO
 * @author FPH
 * @since 2022年7月18日14:38:58
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@Builder
public class ClassExitDTO {
   @ApiModelProperty("班级编号")
   @NotBlank(message = "班级ID不可为空")
   private String classId;

   @ApiModelProperty("要退的学生ID集合")
   @NotEmpty(message = "请选择要退出的学员")
   private List<String> studentList;
}
